package com.smkj.kaoqin.modules.student.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ClassVO {

    @Schema(description = "班级ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "班级名称")
    private String className;

    @Schema(description = "老师名称")
    private String teacherName;

    @Schema(description = "人数")
    private Long count;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "学生姓名")
    private String studentName;

    @Schema(description = "学生学号")
    private Long studentNub;
}
